package com.rory.service.serviceInterfaceImpl;

import com.rory.dao.generate.UserInfoMapper;
import com.rory.entity.generate.UserInfo;
import com.rory.service.CrudService;
import com.rory.service.serviceInterface.UserInfoService;
import org.springframework.stereotype.Service;

/**
 * class: UserInfoService.
 * Created by Rory on 2016/11/24.
 * use:  .
 * other:  .
 */
@Service
public class UserInfoServiceImpl extends CrudService<UserInfoMapper, UserInfo> implements UserInfoService {

    @Override
    public UserInfo getUserInfoById(Integer userInfoId) {
        return getByKey(userInfoId);
    }
}
